﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace SLRT.dao.data
{
    public class Word
    {
        private String wordName;
        private Bitmap wordImage;

        /**
        * Class contructor. The name argument is a specifier.
        * The img argument must specify the image corresponding to this word.
        *
        * @param  path  an relative adress on the pshysical memory giving the base location of the image
        * @param  img   the image corresponding to this Word
        */
        public Word(String name, Bitmap img)
        {
            this.wordName = name;
            this.wordImage = img;
        }

        /**
        * Gets the Bitmap of this Word
        * @return the Bitmap of this Word
        */
        public Bitmap WordImage
        {
            get { return wordImage; }
        }

        /**
        * Returns the name of this Word
        * @return      Returns an String object.
        *
        */
        public String WordName
        {
            get { return wordName; }
        }
    }
}
